import request from '@/utils/request'

// 查询列表
export function listOrderRequest(query) {
  return request({
    url: '/aipay/request/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function getOrderRequest(id) {
  return request({
    url: '/aipay/request/' + id,
    method: 'get'
  })
}

// 删除
export function delOrderRequest(id) {
  return request({
    url: '/aipay/request/' + id,
    method: 'delete'
  })
}

// 删除
export function clearOrderRequest(id) {
  return request({
    url: '/aipay/request/clear',
    method: 'delete'
  })
}
